package com.luozongyao;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @program: guli_parent
 * @description:
 * @author: Zongyao Luo
 * @create: 2021-08-07 15:22
 **/

//如果创建时模块中包的相同部分有不一样的 com.luozongyao.* 则加这个注解
//@ComponentScan(basePackages={"com.luozongyao"})
@SpringBootApplication
@EnableDiscoveryClient  //Nacos注册
@EnableFeignClients
public class EduServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(EduServiceApplication.class,args);
    }
}
